

import util from "../../common/js/util.js";

var bottom=130;
Component({
  mixins: [
    
  ],
  data: {
    bottom
  },
  props: {
    bottom,
    onTapHomeClick:function onTapHomeClick(e){}

  },
  didMount() {
    if(util.isNotEmpty(this.props.bottom)){
      this.setData({
        bottom:this.props.bottom
      })
    }
  },
  didUpdate() {},
  didUnmount() {},
  methods: {
    goHome(){
      
       if(this.props.onTapFabClick){
        this.props.onTapFabClick()
       }else{
        dd.reLaunch({ url: "/pages/home/home" });
       }
    }
  },
});
